@echo off

:local_scope_start
if "%OS%"=="Windows_NT" setlocal

rem home path
set HOME=%~dp0
if "%HOME%" == "" set HOME=.\

rem create crash folder
mkdir %HOME%\analysis_crash
rem create sourcemap folder
mkdir %HOME%\analysis_sourcemap
rem create namecache folder
mkdir %HOME%\analysis_namecache
rem create so folder
mkdir %HOME%\analysis_so
rem create output folder
mkdir %HOME%\analysis_out

:local_scope_end
if "%OS%"=="Windows_NT" endlocal